﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FXnaWpfBase;

using NSCore;

using NSApplication;



namespace NSPresentation
{
    public class ProjectResultVMWrap:MDTVIViewModel
    {

        public ProjectResultVMWrap()
        {
            this._isShowCheck = false;

            this.LoadChildren();

        }


        public void Refresh()
        {
            this.Children.Clear();

            this.LoadChildren();

        }



      


        protected override void LoadChildren()
        {
            if (ProjectService.CurrentService.BNullProj)
            {
                return;

            }


            


            //计算结果


            ProjectResultVM result = new ProjectResultVM(this, ProjectService.CurrentService.Project.NSResult);


            this.Children.Add(result);






        }





    }
}
